import {Component} from 'react';
import {NavLink} from 'react-router-dom'
class Home extends Component{
    render(){
        return(
            <div>
                <h1>首页</h1>
                <NavLink to='/cart'> 购物车</NavLink>
            </div>
        )
    }
}
export default Home;